home *** CD-ROM | disk | FTP | other *** search
/ Risc World 5 / Risc World 5.iso / SOFTWARE / Issue3 / Games / xrick / !xrick / src / c / xrick < prev   
Text File  |  2004-06-24  |  733b  |  37 lines

  1. /*
  2.  * xrick/src/xrick.c
  3.  *
  4.  * Copyright (C) 1998-2002 BigOrno (bigorno@bigorno.net). All rights reserved.
  5.  *
  6.  * The use and distribution terms for this software are contained in the file
  7.  * named README, which can be found in the root of this distribution. By
  8.  * using this software in any fashion, you are agreeing to be bound by the
  9.  * terms of this license.
  10.  *
  11.  * You must not remove this notice, or any other, from this software.
  12.  */
  13.  
  14. #include "system.h"
  15. #include "game.h"
  16.  
  17. #include <SDL.h>
  18.  
  19. /*
  20.  * main
  21.  */
  22. int
  23. main(int argc, char *argv[])
  24. {
  25.     sys_init(argc, argv);
  26.     if (sysarg_args_data)
  27.         data_setpath(sysarg_args_data);
  28.     else
  29.         data_setpath("data.zip");
  30.     game_run();
  31.     data_closepath();
  32.     sys_shutdown();
  33.     return 0;
  34. }
  35.  
  36. /* eof */
  37.